package com.xszx.server.mapper;

import com.xszx.server.entity.Category;
import com.xszx.server.entity.CourseCategory;

import java.util.List;

public interface CourseCategoryMapper {
    int deleteByPrimaryKey(String id);

    int deleteByCourseId(String courseId);

    int insert(CourseCategory record);

    int insertSelective(CourseCategory record);

    CourseCategory selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CourseCategory record);

    int updateByPrimaryKey(CourseCategory record);

    List<Category> findCategorysByCourseId(String courseId);
}
